package test;

import diamondRingEntity.DiamondRingUser;
import diamondRingService.impl.UserServiceImpl;
import diamondRingService.impl.DiamondRingServiceImpl;

public class test1 {
    public static void main(String[] args) {
        DiamondRingServiceImpl bo=new DiamondRingServiceImpl();
        /*List<DiamondRingEntity> diamondRingEntityList=bo.diamond();
        for (DiamondRingEntity list:
             diamondRingEntityList) {
            System.out.println(list.getId()+"---"+list.getGoodsPath()+"---"+list.getGoodsPath2()+"---"+
                    list.getSeries()+"---"+list.getStyle()+"---"+list.getTexture()+"---"+list.getMode()+"---"+
                    list.getShape()+"---"+list.getObject()+"---"+list.getType()+"---"+list.getSalesVolume()+"---"+
                    list.getCarat()+"---"+list.getDiamondPrice());
        }*/
       /* DiamondRingEntity ss=bo.goodsNews(3);
            System.out.println(ss.getGoodsPath()  + "---" + ss.getGoodsPath2() + "---" + ss.getSeries() + "---" +
                    ss.getStyle() + "---" + ss.getDiamondPrice() + "---" + ss.getSellNum() + "---" + ss.getDiamondNum() + "---" +
                    ss.getCaratWeight() + "---" + ss.getTexture() + "---" + ss.getColour() + "---"+ss.getColleCtionid()+ "---" + ss.getRecordid());*/
       // System.out.println(bo.Login(book));
       /* System.out.println(bo.Regist(books));*/
       /* List<DiamondRingEntity> dd=bo.recordFind(13);
        for (DiamondRingEntity list:
                dd) {
            System.out.println(list.getRecordContent()+"---"+list.getLoginName()+"---"+list.getRecordDate());
        }*/
        /*List<Shooping> shoopings=bo.findGoods(13);
        for (Shooping ss:
             shoopings) {
            System.out.println(ss.getCartId()+"---"+ss.getGoods().getGoodsPath()+"---"+ss.getGoods().getSeries()+"---"+ss.getGoods().getStyle()
            +"---"+ss.getGoods().getTexture()+"---"+ss.getGoods().getDiamondPrice()+"---"+ss.getQuantity()+"---"+ss.getSize()+"---"+ss.getLettering());
        }*/
       /* int count=bo.delGoods(1);
        System.out.println(count);*/
        /*System.out.println(bo.updateGoods(7,"呃呃",3));*/
       /* LoveServiceImpl cc=new LoveServiceImpl();
        Love love=new Love("侃侃","威威","","2002-02-03","","");
        System.out.println(cc.updateLove(love));*/
        UserServiceImpl bb=new UserServiceImpl();
        DiamondRingUser cc=bb.findUser("",0);
        System.out.println(cc);

    }
}
